﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Datepicker
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Datepicker</h2>
    
    <p>
        Simple
        <br />
        <%= Html.TextBox( "Calendar", "", new { style = "width:70px;", maxlength = 10 } )%>
    </p>
    
    <p>
        With button panel
        <br />
        <%= Html.TextBox( "Calendar2", "", new { style = "width:70px;", maxlength = 10 } )%>
    </p>
    
    <p>
        With button panel && date formated
        <br />
        <%= Html.TextBox( "Calendar3", "", new { style = "width:70px;", maxlength = 10 } )%>
    </p>
    
    <%= Html.jQueryUI( ).Datepicker( ).ID( "Calendar" ).AutoSize( true ).ToString( )%>
    <%= Html.jQueryUI( ).Datepicker( ).ID( "Calendar2" ).ShowButtonPanel( true ).ToString( )%>
    <%= Html.jQueryUI( ).Datepicker( ).ID( "Calendar3" ).ShowButtonPanel( true ).DateFormat( "dd/mm/yy" ).ToString( )%>
</asp:Content>
